package com.ruoyi.job.service;

import com.ruoyi.system.api.domain.SysUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("ruoyi-system")
public interface SysUserFeignService {

    @RequestMapping("/user/sheng")
    public List<SysUser> sheng();

    @RequestMapping("/user/getByUsername")
    public SysUser getByUsername(@RequestParam("userName") String userName);
}
